﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="MockPrjTeam2.Pages.Forms.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link href="~/Resource/CSS/styleLogin.css" rel="stylesheet" type="text/css" />
    <title></title>
</head>
<body>
    <div id="topPan">
    </div>
    <!--TopPan Close-->
    <!--BodyPan-->
    <div id="bodyPan">
        <h1>
            <span>Welcome adminstrator</span></h1>
        <form method="post" runat="server" id="Form1">
        <h2>
            Member login</h2>
        <div>
            <asp:TextBox ID="_txtUserName" runat="server" CssClass="paddingtop"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="_txtUserName"
                ErrorMessage="Username is not null" ValidationGroup="user" 
                Display="Dynamic">*</asp:RequiredFieldValidator>
        </div>
        <div>
            <asp:TextBox ID="_txtPassword" runat="server" TextMode="Password">password</asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="_txtPassword"
                ErrorMessage="Password is not null" ValidationGroup="user" 
                Display="Dynamic">*</asp:RequiredFieldValidator>
        </div>
        <asp:Button ID="BtnLogin" runat="server" Text="Login" CssClass="button" 
            OnClick="BtnLoginClick" ValidationGroup="user" />
        <br />
        <div><asp:ValidationSummary ID="ValidationSummary1" runat="server" ValidationGroup="user" /></div></form>
        <asp:Label ID="_lblStatusLogin" runat="server" ForeColor="Red"></asp:Label></div>
    <div id="bodybottomPan" style="left: 0px; top: 0px">
        &nbsp;
    </div>
</body>
</html>
